package org.way.iam.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@Accessors(chain = true)
@TableName("sys_role")
public class SysRoleEntity implements Serializable {

    private static final long serialVersionUID = -77177076272632761L;

    @TableId(type = IdType.ASSIGN_UUID)
    private String id;
    /**
     * 角色名称
     */
    private String roleName;
    /**
     * 角色key
     */
    private String roleKey;
    /**
     * 排序
     */
    private int sortNo;
    /**
     * 备注
     */
    private String remark;

}

